package day_4.demo1;/*
 *@ 代阳敲的专属代码
 **/

public class Cat  extends Animal{
    public String name="...猫";
    public void eat() {
        System.out.println("猫在吃鱼"+name);

    }
    public void sleep() {
        System.out.println("猫在睡觉");
    }
}
